The program opened with a beautifully played but interpretively frustrating account of Bartok’s “Contrasts.” Liam Burke, a clarinetist; Avigail Bushakevitz, a violinist; and Yale Work, a pianist, played gracefully and fastidiously, and Mr. Burke’s phrasing embraced the bent notes and other jazz touches that Benny Goodman, for whom Bartok wrote the part, brought to the first performances. But fastidiousness is not really the order of the day here: you want the admirable textural transparency that these musicians brought to the score, but this music also needs a touch of on-the-edge brashness.

That said, an attraction of ChamberFest is hearing finely trained young players coming to terms with music that requires them to sacrifice polish for something deeper. The ensemble for the Bartok began to accomplish that in the work’s finale. And the group that played Shostakovich’s Piano Trio No. 2 in E minor (Op. 67) — Lavinia Pavlish, violinist; Colin Stokes, cellist; and Nathaniel LaNasa, pianist — also had to make adjustments along the way. Peculiar balances at the start were quickly sorted out, and though parts of the opening movement seemed prim and polite, the players quickly got in touch with the pained intensity that drives the piece.

The best and most consistent performance of the evening was the account of the Brahms Piano Quartet No. 1 in G minor (Op. 25), which closed the program. Daniel Baer played the piano line with fluidity, warmth and sparkle, and the string players — Nikita Morozov, violinist; Megan Griffin, violist; and Kristen Wojcik, cellist — matched the richness and depth of his reading. This was a virtuosic performance, but it achieved the often elusive, typically Brahmsian goal of putting virtuosity at the service of bigger ideas, rather than celebrating it for its own sake.