Introduction
Presented at the NeurIPS 2024 Creative AI Track, this study explores the intersection of generative modeling and the ancient oral tradition of Hindustani (North Indian) classical music. While most AI music tools are designed for Western notation or MIDI, this research addresses the "in-the-wild" challenges of creating an AI collaborator capable of understanding the fluid, improvisational nature of Indian classical melodies.
Hindustani music relies heavily on ornamentation and improvisation—elements difficult to capture in discrete symbolic formats. The researchers conducted a pilot study with professional musicians to test GaMaDHaNi, a hierarchical generative model that creates vocal melodies using continuous pitch contours. The study reveals that for AI to be a meaningful collaborator in this tradition, it must respect the strict structural boundaries of raga (melodic framework) and taal (rhythm).
Methodology: The GaMaDHaNi Model
The researchers developed GaMaDHaNi, a two-level hierarchical diffusion-based model designed to handle continuous pitch representations rather than discrete notes.
As shown in Figure 1, the architecture consists of:
- Pitch Generator: Utilizes Iterative $\alpha$-Deblending (IADB) to generate 100Hz fundamental frequency (F0) contours.
- Spectrogram Generator: Converts these contours into mel-spectrograms.
- Vocoder: Transforms spectrograms into audio via the Griffin-Lim algorithm.
The model was trained on the Saraga dataset and a Hindustani Raga Recognition dataset. To evaluate human-AI interaction, three expert musicians participated in three distinct tasks:
- Idea Generation: An iterative loop where the model generates continuations from a user-selected "seed."
- Call and Response: The model generates an 8-second "reply" to a 4-second user phrase.
- Melodic Reinterpretation: The model refines a "coarse guide" provided by the user into a polished vocal contour.
Key Insights: The Paradox of Constraints
A central finding of the study is that in Hindustani music, creativity thrives under strict rules. Unlike many AI domains where "unconstrained" generation is a goal, musicians found the model's free-flowing output frustrating when it ignored the boundaries of the raga.
Participants felt the model lacked true responsiveness. In traditional "Call and Response," a partner builds upon the initial musical idea. GaMaDHaNi, however, often generated phrases in different scales or tempos, making the interaction feel disconnected. Furthermore, when users input pitches outside the training data's range, the synthesized voice sounded unnatural, breaking the musical immersion.
Results and Qualitative Analysis
The study focused on the "lived experience" of the musicians, highlighting several technical and artistic gaps.
Visual analysis of pitch contours (Figure 3) demonstrated that while the model occasionally stayed in key, it frequently introduced "illegal" notes outside the chosen scale. One participant noted that for AI to be a true "companion," it must avoid basic structural errors that even a novice student would not make. Interestingly, some outputs were described as sounding more like Carnatic (South Indian) music, suggesting the model had not yet fully captured the specific idiomatic nuances of the Hindustani tradition.
Future Directions
The authors identify several paths to improve AI collaboration in non-Western traditions:
- Explicit Conditioning: Using techniques like Classifier-Free Guidance to enforce specific raga or taal constraints.
- Hybrid Representations: Mapping continuous contours back to discrete notes to ensure adherence to music theory.
- Interactive Training: Fine-tuning models on solo human-AI interaction data to bridge the gap between studio ensemble recordings and real-time collaborative use.
Ultimately, the paper argues that successful AI integration in classical traditions requires designing for "guided creativity" rather than raw generative power.
Summary updated