Phrase Choice – ‘The Challenge to Do X’ vs. ‘The Challenge of Doing X’

phrase-choice

I wonder which form(s) are correct amongst the following:

  • the challenge to do X
  • the challenge of doing X

Example:

The models in the literature tend to employ different strategies to encode the input, leading to the challenge to determine the best input encoding scheme for this problem.

Best Answer

Both are grammatically fine. "the challenge to do X" emphasizes X as unit, a thing to be accomplished. "the challenge of doing X" emphasizes X as a process, perhaps with challenging aspects or steps. But in many contexts the meanings of the two forms will be essentially identical.

The example sentence:

... leading to the challenge to determine the best input encoding scheme ...

could be rewritten as

leading to the challenge of determining the best input encoding scheme ...

with no significant change in meaning.